﻿using System.Linq;
using App.Account.Models;

namespace App.Account.DataAccess.Interfaces
{
    public interface IAccountRepository
    {
        IQueryable<User> GetUsers();
        IQueryable<Role> GetRoles();

        void SaveUser(User user);
        void DeleteUser(User user);

        bool InsertUser(User user);

        void SaveRole(Role role);
        void DeleteRole(Role role);

        bool InsertRole(Role role);
    }
}
